/***豆包api**/
import http from './http';

// 获取公告栏
export const getBillboard = (params) => http.get('/billboard/show', params);
// 每日一句
export const getTodayTip = (params) => http.get('/tip/today', params);
// 推广链接
export const getPromotionAll = (params) => http.get('/promotion/all', params);
//用户登录
export const login = (params) => http.postContentType('/bms/user/login', params);
//用户注册
export const userRegister = (params) => http.postContentType('/bms/user/register', params);
// 登录后获取前台用户信息
export const getUserInfo = (params) => http.get('/bms/user/info', params);
// 前台用户注销
export const logout = (params) => http.get('/bms/user/logout', params);





